<template>
	<s-page-result :type="type" :subtext="subtext" def-btn="返回首页" @defBtn="defClick" pri-btn="去登录" @priBtn="priClick">
	</s-page-result>
</template>

<script>
	export default {
		data() {
			return {
				type: "401",
				text: "未登录",
				subtext: "您还未登录，请登陆后再操作！"
			}
		},
		methods: {
			defClick() {
				uni.redirectTo({
					url: '../../index/tabbar'
				})
			},
			priClick() {
				uni.navigateTo({
					url: '../login/index'
				})
			}
		}
	}
</script>

<style>

</style>
